package com.zpphis.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author zpp
 * @since 2022-11-22
 */
@TableName("t_drugs")
public class Drugs implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * ID主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 药品编码
     */
    private String drugsCode;

    /**
     * 药品名称
     */
    private String drugsName;

    /**
     * 药品规格
     */
    private String drugsFormat;

    /**
     * 包装单位
     */
    private String drugsUnit;

    /**
     * 生产厂家
     */
    private String manufacturer;

    /**
     * 药品剂型
     */
    private Integer drugsDosageId;

    /**
     * 药品类型
     */
    private Integer drugsTypeId;

    /**
     * 药品单价
     */
    private Integer drugsPrice;

    /**
     * 拼音助记码
     */
    private String mnemonicCode;

    /**
     * 创建时间
     */
    private LocalDateTime creationDate;

    /**
     * 最后修改时间
     */
    private LocalDateTime lastUpdateDate;

    /**
     * 删除标记
     */
    private Integer delMark;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }
    public String getDrugsCode() {
        return drugsCode;
    }

    public void setDrugsCode(String drugsCode) {
        this.drugsCode = drugsCode;
    }
    public String getDrugsName() {
        return drugsName;
    }

    public void setDrugsName(String drugsName) {
        this.drugsName = drugsName;
    }
    public String getDrugsFormat() {
        return drugsFormat;
    }

    public void setDrugsFormat(String drugsFormat) {
        this.drugsFormat = drugsFormat;
    }
    public String getDrugsUnit() {
        return drugsUnit;
    }

    public void setDrugsUnit(String drugsUnit) {
        this.drugsUnit = drugsUnit;
    }
    public String getManufacturer() {
        return manufacturer;
    }

    public void setManufacturer(String manufacturer) {
        this.manufacturer = manufacturer;
    }
    public Integer getDrugsDosageId() {
        return drugsDosageId;
    }

    public void setDrugsDosageId(Integer drugsDosageId) {
        this.drugsDosageId = drugsDosageId;
    }
    public Integer getDrugsTypeId() {
        return drugsTypeId;
    }

    public void setDrugsTypeId(Integer drugsTypeId) {
        this.drugsTypeId = drugsTypeId;
    }
    public Integer getDrugsPrice() {
        return drugsPrice;
    }

    public void setDrugsPrice(Integer drugsPrice) {
        this.drugsPrice = drugsPrice;
    }
    public String getMnemonicCode() {
        return mnemonicCode;
    }

    public void setMnemonicCode(String mnemonicCode) {
        this.mnemonicCode = mnemonicCode;
    }
    public LocalDateTime getCreationDate() {
        return creationDate;
    }

    public void setCreationDate(LocalDateTime creationDate) {
        this.creationDate = creationDate;
    }
    public LocalDateTime getLastUpdateDate() {
        return lastUpdateDate;
    }

    public void setLastUpdateDate(LocalDateTime lastUpdateDate) {
        this.lastUpdateDate = lastUpdateDate;
    }
    public Integer getDelMark() {
        return delMark;
    }

    public void setDelMark(Integer delMark) {
        this.delMark = delMark;
    }

    @Override
    public String toString() {
        return "Drugs{" +
            "id=" + id +
            ", drugsCode=" + drugsCode +
            ", drugsName=" + drugsName +
            ", drugsFormat=" + drugsFormat +
            ", drugsUnit=" + drugsUnit +
            ", manufacturer=" + manufacturer +
            ", drugsDosageId=" + drugsDosageId +
            ", drugsTypeId=" + drugsTypeId +
            ", drugsPrice=" + drugsPrice +
            ", mnemonicCode=" + mnemonicCode +
            ", creationDate=" + creationDate +
            ", lastUpdateDate=" + lastUpdateDate +
            ", delMark=" + delMark +
        "}";
    }
}
